<template>
  <div id="app">
     <keep-alive :include="keepArr">
        <router-view/>
    </keep-alive>
  </div>
</template>
<script>
export default {
  data () {
    return {
      keepArr: ['IndexMoViePage', 'IndexHomePage'] // 缓存的组件
    }
  }
}
</script>
<style lang="less">

</style>
